package com.fyy.im.message;

import lombok.Data;
import lombok.ToString;

/**
 * @Author fyy
 * @Description
 * @Date 2021/5/11 10:40
 */
@Data
@ToString(callSuper = true)
public abstract class AbstractResponseMessage extends Message {

    private boolean success;
    private String reason;

    public AbstractResponseMessage(){

    }

    public AbstractResponseMessage(boolean success, String reason) {
        this.success = success;
        this.reason = reason;
    }
}
